<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<ul class="nav nav-list">
 <c:set var="Role" value="${sessionuser.role}"/>
 <c:if test="${Role eq 'Admin'}">
  <li class="nav-header"><strong>Administration</strong></li>
  <li><a href="<c:url value="/adminHome/EmpList"/>">Employee Management</a></li>
  <li><a href="<c:url value="/adminHome/Holidays"/>">Holidays Management</a></li>
  </c:if>
   <c:if test="${Role == 'Manager'}">
  <li class="nav-header"><strong>Manager</strong></li>
  <li><a href="<c:url value="/staffHome/leave/apply"/>">Apply Leave</a></li>
  <li><a href="<c:url value="/staffHome/leavelist2"/>">Leave Application For Approval</a></li>
  <li><a href="<c:url value="/staffHome/leavelist"/>">Personal Leave History</a></li>
  </c:if>
  
<c:if test="${Role == 'Employee'}">
  <li class="nav-header"><strong>Employee</strong></li>
  <li><a href="<c:url value="/staffHome/leave/apply"/>">Apply Leave</a></li>
  <li><a href="<c:url value="/staffHome/leavelist"/>">Personal Leave History</a></li>
  </c:if>
</ul>

